package test1.bean;

import test2.bean.Test2;

import java.util.List;

public class Test1 {
    int id;
    String text;
    List<Test2> test2s;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public List<Test2> getTest2s() {
        return test2s;
    }

    public void setTest2s(List<Test2> test2s) {
        this.test2s = test2s;
    }

    @Override
    public String toString() {
        return "Test1{" +
                "id=" + id +
                ", text='" + text + '\'' +
                ", test2s=" + test2s +
                '}';
    }
}
